export default {
  mode: 'admin',
  apiToken: 'token',
  loginAuth(route, { user }) {
    if (route.needLogin && !user.login) return false;
    return true;
  },
};
